import request from '@/utils/request'

export function selectAll(data) {
    return request({
        url: '/section/all',
        method: 'post',
        data: data
    })
}

export function allId(data) {
    return request({
        url: '/section/all/id',
        method: 'post',
        data: data
    })
}

export function add(data) {
    return request({
        url: '/section/add',
        method: 'post',
        data: data
    })
}

export function update(data) {
    return request({
        url: '/section/update',
        method: 'post',
        data: data
    })
}

export function del(data) {
    return request({
        url: '/section/delete',
        method: 'post',
        data: data
    })
}
